<div class="ui-widget" style="display: block; width: 810px;">
    <div class="ui-widget-header ui-corner-all">
        <div class="ui-state-default yvo-widget-header">
            <?php echo __('HTML template for header and footer (guest reservation)') ?>
        </div>
    </div>
    <div class="ui-widget-content ui-corner-all">
        <form id="html_template_header_footer_form" action="<?php echo url_for('@settings_temaplate_header_footer_save') ?>" method="post">
            <table width="100%">
                <tr>
                    <td><b><?php echo __('HTML template - header') ?></b></td>
                </tr>
                <tr>
                    <td>
                        <?php echo $form['header']->render(array('style' => 'height: 150px;')) ?>
                        <?php if ($form['header']->hasError())
                            echo __($form['header']->getError()->getMessage()) ?>
                    </td>
                </tr>
                <tr>
                    <td><b><?php echo __('HTML template - footer') ?></b></td>
                </tr>
                <tr>
                    <td>
                        <?php echo $form['footer']->render(array('style' => 'height: 150px;')) ?>
                        <?php if ($form['footer']->hasError())
                            echo __($form['footer']->getError()->getMessage()) ?>
                    </td>
                </tr>
                <tr>
                    <td>
                        <div class="yvo-buttons">
                            <input class="ui-button ui-widget ui-state-active ui-corner-all ui-button-text-only ui-button-text" id="html_template_header_footer_button" type="button" value="<?php echo __('Save header and footer') ?>" role="button" />
                        </div>
                        <!--input id="email_message_header_footer_button" type="button" value="<?php echo __('Save header and footer') ?>" /-->
                    </td>
                </tr>
            </table>
<?php echo $form->renderHiddenFields() ?>
        </form>
        <span class="bug">Issue 46: Template header / footer don't save.</span>
    </div>
</div>



